package licode.unisop.auth.client.exception;

/**
 * 定义认证客户端模块的错误码
 * 平台认证客户端的错误码开头为800
 *
 * @author WR
 */
public class AuthClientErrorCode {
    // 重定向到login地址
    public static final int REDIRECT_TO_LOGIN = 800001;

    // 重定向到ticket地址
    public static final int REDIRECT_TO_TICKET = 800002;

    // 认证用户不存在
    public static final int AUTH_USER_NO_EXIST = 800003;
    public static final String AUTH_USER_NO_EXIST_MSG = "认证用户不存在";

    // 用户名密码错误
    public static final int AUTH_USER_PWD_ERROR = 800020;
    public static final String AUTH_USER_PWD_ERROR_MSG = "用户名密码错误";

    // 短信验证码错误
    public static final int AUTH_USER_SMS_CODE_ERROR = 800021;
    public static final String AUTH_USER_SMS_CODE_ERROR_MSG = "短信验证码错误";

    // 无效认证方式
    public static final int AUTH_TYPE_INVALID = 800030;
    public static final String AUTH_TYPE_INVALID_MSG = "无效认证方式";
}
